package com.ruoyi.quartz.service.impl;

import com.ruoyi.quartz.domain.BaseCompany;
import com.ruoyi.quartz.mapper.BaseCompanyMapper;
import com.ruoyi.quartz.service.IBaseCompanyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class BaseCompanyServiceImpl implements IBaseCompanyService {

    @Resource
    private BaseCompanyMapper baseCompanyMapper;

    @Override
    public BaseCompany selectCompanyById(Integer company_id) {
        return baseCompanyMapper.selectCompanyById(company_id);
    }

    @Override
    public int updateCompany(BaseCompany baseCompany) {
        return baseCompanyMapper.updateCompany(baseCompany);
    }
}
